package edu.zhku.ttms.view.label;

import edu.zhku.ttms.utils.LoginSession;

import javax.swing.*;

/**
 * @author Feng
 * @since 2021/4/23 18:42
 */
public class LoginInfoLabel extends JLabel {

    public LoginInfoLabel() {
        this(700, 0);
    }

    public LoginInfoLabel(int x, int y) {
        this.setText(LoginSession.getLoggedInfo());
        this.setBounds(x, y, 260, 30);
    }

}
